package com.hjh.gameforum.vo;

import com.hjh.gameforum.enums.TopicStatus;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class TopicVo {

    private Long topicId;

    private String title;
    private String content;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private int viewCount;

    private TopicStatus status;

    private Long userId;      // 创建用户id
    private Long categoryId;  // 类别id
    private Long likes;
    private String imageUrl;
    private String username;
}
